{% extends "base.html" %}

{% block title %}提交新机型{% endblock %}

{% block left_content %}


    <form  action="/device/add/" method="post" enctype="multipart/form-data">{% csrf_token %} 
        <div class="form">
        <div class="title">提交新机型</div>	
		{{form.as_p}}
		<p><input class="button corner" type="submit" value="提交">
		<font color=red>{{alert}}</font></p>	
		
        </div>

    </form>
	<div style="height:100;"></div>
{% endblock %}

{% block right_content %}
<h3><span class="sLeft">◇<a href="/device/">返回</span></a></h3>
{% endblock %}